/*
 * Vigas.h
 *
 *  Created on: 24/07/2013
 *      Author: juan
 */

#ifndef VIGAS_H_
#define VIGAS_H_

#include "Figure.h"
#include "Cube.h"
#include <list>
#include <GL/freeglut.h>

class Vigas: public Figure {
public:
	Vigas(GLuint program);
	virtual ~Vigas();
	virtual void draw(GLuint program, glm::mat4 & world_matrix);
	void set_texture_id(GLuint texture);
private:
	std::list<Cube*>* cubos;
	void crear_cubos(GLuint program, int pisos);
};

#endif /* VIGAS_H_ */
